package com.ct.deadlockdetetor.domain.resource.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ResourceAddDTO {

    /**
     * 资源id
     */
    @NotNull(message = "资源id不能为空")
    private Integer resourceId;

    /**
     * 总的实例数
     */
    @NotNull(message = "总的实例数不能为空")
    private Integer totalInstances;
}
